package entity;

import java.util.List;

/**
 * @author futao
 * Created on 2017/11/10 - 19:48.
 */
public class Classroom {
    public static void say() {
        System.out.println("aaaaa");
    }
    static {
        System.out.println("aaaaaasdsa==");
    }

    private List<User> list;
    private String className;
    private int classSize = list != null ? list.size() : 0;


    public List<User> getList() {
        return list;
    }

    public void setList(List<User> list) {
        this.list = list;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public int getClassSize() {
        return classSize;
    }

    public void setClassSize(int classSize) {
        this.classSize = classSize;
    }
}
